using Abp.Domain.Services;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Yozeev.SystemConfig.DomainService
{
    public interface IPowerManager : IDomainService
    {
        /// <summary>
        /// 初始化方法
        ///</summary>
        void InitPower();

        /// <summary>
        /// 根据用户id查询权限
        /// </summary>
        /// <param name="userId">用户id</param>
        /// <returns></returns>
        List<Power> GetPowerByUserId(long userId);

    }
}
